package com.xbx.admin.entity.user.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 地区数据权限对象
 *
 * @author 89005691
 * @create 2018-08-30 21:08
 */
@Data
@ApiModel("地区数据权限对象")
public class AreaDataInfoForm {

    @ApiModelProperty(value = "数据管理id", example = "1")
    private Integer id;

    @NotNull(message = "用户顶级大区不能为空")
    @ApiModelProperty(value = "用户顶级大区", required = true)
    private String topArea;

    @NotNull(message = "用户大区不能为空")
    @ApiModelProperty(value = "用户大区", required = true)
    private String regionArea;

    @NotNull(message = "用户地区不能为空")
    @ApiModelProperty(value = "用户地区", required = true)
    private String subArea;

    @ApiModelProperty(value = "数据权限备注")
    private String remark;
}
